﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Diagnostics;
using System.Threading;

namespace RestartRemapper
{
   static class Program
   {
      /// <summary>
      /// The main entry point for the application.
      /// </summary>
      [STAThread]
      static void Main(string[] args)
      {
         if (args.Length == 2)
         {
            int iDelay = 1000;
            int.TryParse(args[0], out iDelay);
            Thread.Sleep(iDelay);
            Process.Start(args[1]);
         }
      }
   }
}
